package com.hdoit.ares.logical.insu.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.message.ModelBase;

/**
 * @author caochengmeng
 * @email
 * @createtime 2017年11月13日 16:52:16
 * @comment
 */
@Alias("fanhuaCarBusinessRiskKinds")
@Entity
@Table(name = "insu_fanhua_car_business_riskKinds")
public class FanhuaCarBusinessRiskKinds extends ModelBase {
	// 主键
	@Id
	@Column(name = "id")
	private String id;

	// 险种代码
	@Column(name = "riskCode")
	private String riskCode;

	// 险种名称
	@Column(name = "riskName")
	private String riskName;

	// 险种保额
	@Column(name = "amount")
	private String amount;

	// 是否不计免赔
	@Column(name = "notDeductible")
	private String notDeductible;

	// 险种保费
	@Column(name = "premium")
	private String premium;

	// 险种不计免赔保费
	@Column(name = "ncfPremium")
	private String ncfPremium;

	// 创建时间
	@Column(name = "createTime")
	private Date createTime;

	// 全拼
	@Column(name = "code")
	private String code;

	// 连读
	@Column(name = "markCode")
	private String markCode;
	
	//外键
    @Column(name="oid")
    private String oid;
    
    public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRiskCode() {
		return this.riskCode;
	}

	public void setRiskCode(String riskCode) {
		this.riskCode = riskCode;
	}

	public String getRiskName() {
		return this.riskName;
	}

	public void setRiskName(String riskName) {
		this.riskName = riskName;
	}

	public String getAmount() {
		return this.amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getNotDeductible() {
		return this.notDeductible;
	}

	public void setNotDeductible(String notDeductible) {
		this.notDeductible = notDeductible;
	}

	public String getPremium() {
		return this.premium;
	}

	public void setPremium(String premium) {
		this.premium = premium;
	}

	public String getNcfPremium() {
		return this.ncfPremium;
	}

	public void setNcfPremium(String ncfPremium) {
		this.ncfPremium = ncfPremium;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMarkCode() {
		return this.markCode;
	}

	public void setMarkCode(String markCode) {
		this.markCode = markCode;
	}
	@Override
	public String toString() {
		return "FanhuaCarBusinessRiskKinds [id=" + id + ", riskCode=" + riskCode + ", riskName=" + riskName + ", amount=" + amount + ", notDeductible=" + notDeductible + ", premium=" + premium + ", ncfPremium=" + ncfPremium + ", createTime=" + createTime + ", code=" + code + ", markCode=" + markCode + ", oid=" + oid + "]";
	}
	
}
